package com.xmotor.test_annotation_StrategyModel.handler.impl;

import com.xmotor.test_annotation_StrategyModel.annotation.OrderHandlerType;
import com.xmotor.test_annotation_StrategyModel.handler.OrderHandler;
import com.xmotor.test_annotation_StrategyModel.pojo.Order;

/**
 * @Description 移动端支付宝支付订单处理逻辑
 * @Author Dang Xianyue
 * @Date 2020-10-05 19:53
 * @Version 1.0
 */
@OrderHandlerType(source = "mobile",payMethod = "AliPay")
public class MobileAliPayOrderHandler implements OrderHandler {
    @Override
    public String handle(Order order) {
        //订单处理。。。

        return "处理移动端支付宝支付的订单";
    }
}
